package com.slz3.business.module.messageManagement.mesUser.service;

import com.slz3.business.module.messageManagement.mesUser.domain.MesUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;
import java.util.stream.Stream;

/**
 * 非事务型 service
 */
public interface MesUserService {

    MesUser save(MesUser mesUser);

    Page<MesUser> page(MultiValueMap<String,String> queryParams);

    MesUser modify(MesUser mesUser);

    Optional<MesUser> single(UUID uuid);

    List<MesUser> findAllByUuids(Iterable<UUID> uuids);

    List<MesUser> delete(List<MesUser> mesUserList);
}
